package com.pkx.cloud.fse7.expand.group.entity;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.pkx.cloud.mybatis.comn.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author chenwg
 * @since 2021-04-09
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("door_group_detail")
@ApiModel(value = "DoorGroupDetail对象", description = "")
public class DoorGroupDetail extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    @ApiModelProperty(value = "主控")
    private Long devNo;

    @ApiModelProperty(value = "读头")
    private Long doorNo;
    @ApiModelProperty(value = "设备id")
    private String devId;
    @ApiModelProperty(value = "读头id")
    private String doorId;

    @ApiModelProperty(value = "设备名称")
    private String name;

    @ApiModelProperty(value = "分组id")
    private String groupId;

    @ApiModelProperty(value = "备注")
    private String remark;
}
